package com.self.member.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

/**
 * @version v1.0
 * @ClassName: MemberConfig
 * @Description:
 * @Author: Mac
 * @Date: 2022/6/19 0:23
 */
@Configuration
public class MemberConfig {

    @Bean
    public PasswordEncoder passwordEncoder(){
        return new BCryptPasswordEncoder();
    }
}
